package test_new;

import org.junit.Assert;
import org.junit.Test;

public class BubbleSortAbsTest {

	@Test
	public void test_BubbleSortAbs() {
		int[] array = {4, 6, -7, 1, 8, 2, -5, 3, -3};
		BubbleSort matrix = new BubbleSortAbs(array);
		matrix.makeBubbleSort();
		Assert.assertArrayEquals(new int[]{1, 2, 3, -3, 4, -5, 6, -7, 8}, matrix.getArray());
	}
	
}
